package com.fortune.dto.in.mStoreTrans;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;

public class MStoreTransAddDetailDto {
	@NotNull(message="商品序号不能为空")
	@ApiModelProperty(required=true, example="商品序号")
	private int no;
	@NotBlank(message="商品id不能为空")
	@ApiModelProperty(required=true, example="商品id")
	private String  mpid;
	@NotNull(message="商品数量不能为空")
	@ApiModelProperty(required=true, example="商品数量")
	private int num;
	public int getNo() {
		return no;
	}
	public void setNo(int no) {
		this.no = no;
	}
	public String getMpid() {
		return mpid;
	}
	public void setMpid(String mpid) {
		this.mpid = mpid;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	@Override
	public String toString() {
		return "MStoreTransAddDetailDto [no=" + no + ", mpid=" + mpid + ", num=" + num + "]";
	}
}
